using System;
using System.Runtime.Serialization;
namespace eTMS.DAO{
	/********************************BEGIN SinhVienNamHocEntity****************************************/
	///<summary>
	/// <para>Author: Auto generated class by CSharp Code Generator v2.0</para>
	/// <para>Date:26/10/2011 44:05:56</para>
	/// <para>Class Name: SinhVienNamHocEntity</para>
	/// <para>Description: ClassSinhVienNamHocEntity store data of table SinhVienNamHoc</para>
	///</summary>

	[DataContract]
	public partial class SinhVienNamHocEntity{


		private bool _InternalChangedIsNullSinhVienNamHoc_ID=true;
		private bool _IsNullSinhVienNamHoc_ID=true;
		private bool _InternalChangedIsNullSinhVien_ID=true;
		private bool _IsNullSinhVien_ID=true;
		private bool _InternalChangedIsNullNamHoc_ID=true;
		private bool _IsNullNamHoc_ID=true;
		private bool _InternalChangedIsNullDiemTongKet=true;
		private bool _IsNullDiemTongKet=true;
		private bool _InternalChangedIsNullDiemRenLuyen=true;
		private bool _IsNullDiemRenLuyen=true;
		private bool _InternalChangedIsNullXepLoaiTongKet_ID=true;
		private bool _IsNullXepLoaiTongKet_ID=true;
		private bool _InternalChangedIsNullXepLoaiRenLuyen_ID=true;
		private bool _IsNullXepLoaiRenLuyen_ID=true;
		private bool _InternalChangedIsNullNamThu=true;
		private bool _IsNullNamThu=true;
		private int _SinhVienNamHoc_ID;
		private int _SinhVien_ID;
		private int _NamHoc_ID;
		private Decimal _DiemTongKet;
		private Decimal _DiemRenLuyen;
		private int _XepLoaiTongKet_ID;
		private int _XepLoaiRenLuyen_ID;
		private Byte _NamThu;
		[DataMember]
		public bool IsNullSinhVienNamHoc_ID{
			get{return _IsNullSinhVienNamHoc_ID;}
			set{if(!_InternalChangedIsNullSinhVienNamHoc_ID)_IsNullSinhVienNamHoc_ID=value;}
		}
		[DataMember]
		public bool IsNullSinhVien_ID{
			get{return _IsNullSinhVien_ID;}
			set{if(!_InternalChangedIsNullSinhVien_ID)_IsNullSinhVien_ID=value;}
		}
		[DataMember]
		public bool IsNullNamHoc_ID{
			get{return _IsNullNamHoc_ID;}
			set{if(!_InternalChangedIsNullNamHoc_ID)_IsNullNamHoc_ID=value;}
		}
		[DataMember]
		public bool IsNullDiemTongKet{
			get{return _IsNullDiemTongKet;}
			set{if(!_InternalChangedIsNullDiemTongKet)_IsNullDiemTongKet=value;}
		}
		[DataMember]
		public bool IsNullDiemRenLuyen{
			get{return _IsNullDiemRenLuyen;}
			set{if(!_InternalChangedIsNullDiemRenLuyen)_IsNullDiemRenLuyen=value;}
		}
		[DataMember]
		public bool IsNullXepLoaiTongKet_ID{
			get{return _IsNullXepLoaiTongKet_ID;}
			set{if(!_InternalChangedIsNullXepLoaiTongKet_ID)_IsNullXepLoaiTongKet_ID=value;}
		}
		[DataMember]
		public bool IsNullXepLoaiRenLuyen_ID{
			get{return _IsNullXepLoaiRenLuyen_ID;}
			set{if(!_InternalChangedIsNullXepLoaiRenLuyen_ID)_IsNullXepLoaiRenLuyen_ID=value;}
		}
		[DataMember]
		public bool IsNullNamThu{
			get{return _IsNullNamThu;}
			set{if(!_InternalChangedIsNullNamThu)_IsNullNamThu=value;}
		}
		[DataMember]
		public int SinhVienNamHoc_ID{
			get{return _SinhVienNamHoc_ID;}
			set{
				_SinhVienNamHoc_ID=value;
				if(_SinhVienNamHoc_ID!=null){
					_IsNullSinhVienNamHoc_ID=false;
					_InternalChangedIsNullSinhVienNamHoc_ID=true;
				}
			}
		}
		[DataMember]
		public int SinhVien_ID{
			get{return _SinhVien_ID;}
			set{
				_SinhVien_ID=value;
				if(_SinhVien_ID!=null){
					_IsNullSinhVien_ID=false;
					_InternalChangedIsNullSinhVien_ID=true;
				}
			}
		}
		[DataMember]
		public int NamHoc_ID{
			get{return _NamHoc_ID;}
			set{
				_NamHoc_ID=value;
				if(_NamHoc_ID!=null){
					_IsNullNamHoc_ID=false;
					_InternalChangedIsNullNamHoc_ID=true;
				}
			}
		}
		[DataMember]
		public Decimal DiemTongKet{
			get{return _DiemTongKet;}
			set{
				_DiemTongKet=value;
				if(_DiemTongKet!=null){
					_IsNullDiemTongKet=false;
					_InternalChangedIsNullDiemTongKet=true;
				}
			}
		}
		[DataMember]
		public Decimal DiemRenLuyen{
			get{return _DiemRenLuyen;}
			set{
				_DiemRenLuyen=value;
				if(_DiemRenLuyen!=null){
					_IsNullDiemRenLuyen=false;
					_InternalChangedIsNullDiemRenLuyen=true;
				}
			}
		}
		[DataMember]
		public int XepLoaiTongKet_ID{
			get{return _XepLoaiTongKet_ID;}
			set{
				_XepLoaiTongKet_ID=value;
				if(_XepLoaiTongKet_ID!=null){
					_IsNullXepLoaiTongKet_ID=false;
					_InternalChangedIsNullXepLoaiTongKet_ID=true;
				}
			}
		}
		[DataMember]
		public int XepLoaiRenLuyen_ID{
			get{return _XepLoaiRenLuyen_ID;}
			set{
				_XepLoaiRenLuyen_ID=value;
				if(_XepLoaiRenLuyen_ID!=null){
					_IsNullXepLoaiRenLuyen_ID=false;
					_InternalChangedIsNullXepLoaiRenLuyen_ID=true;
				}
			}
		}
		[DataMember]
		public Byte NamThu{
			get{return _NamThu;}
			set{
				_NamThu=value;
				if(_NamThu!=null){
					_IsNullNamThu=false;
					_InternalChangedIsNullNamThu=true;
				}
			}
		}
	}
	/*****************************************************************************************************/
	/**********************************END SinhVienNamHocEntityBase*****************************************/
	/*****************************************************************************************************/
}

